# coding:utf-8
# author    : ['王稣胤 820390693@qq.com', ]
# data      : 2020/3/26 14:21
# software  : PyCharm
# python    : '3.5.3 64bit'
# file      : utils.py
"""
说明文档：

"""

import requests
def rpc_call(url, method, timeout=5,**params):
    json_data = {
        'jsonrpc':'2.0',
        'id':1,
        'method':method,
        'params':params
    }
    return requests.post(url =url,json = json_data, timeout=timeout).json()
